package com.alex.designPattern.adapter;

public class Adapter extends ChineseSpeaker implements EnglishSpeaker {

	public String speakEnglish() {
		String chineseStr = this.speakChinese();
		return "'"+chineseStr.concat("' is going to translate to english...");
	}
	
	public  static void main(String[] args){
		EnglishSpeaker es = new Adapter();
		System.out.println(es.speakEnglish());
	}
}


